import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/login',
      name: 'Login',
      component: ()=> import("@/views/login/index")
    },
    {
      path:'/home',
      name:'Home',
      component: ()=> import("@/views/home/index")
    },
    {
      path:'/user/resourceGategory',
      name:'resourceGategory',
      component: ()=> import("@/views/user/resource/resourceGategory")
    },
    
    {
      path:'/',
      name:'index',
      redirect:'/home'
    },
  
  ]
})
